import pages from '@/pages'
import Wrap from '@/routeView/Wrap'

export default {
  redirect: '/index/project-management/row-management',
  component: Wrap,
  label: '项目管理',
  path: 'project-management',
  icon: 'icon-home',
  children: [
    {
      component: pages.Index.ProjectManagement.RowManagement,
      label: '纵向项目管理',
      path: 'row-management',
    },
    {
      component: pages.Index.ProjectManagement.RowSetup,
      label: '纵向立项/签审',
      path: 'row-setup',
    },
    {
      component: pages.Index.ProjectManagement.BulkImport,
      label: '批量导入',
      path: 'bulk-import',
      is_menu_hide: true // 在menv中隐藏
    },
    {
      component: pages.Index.ProjectManagement.RowSetupSuccess,
      label: '批量导入',
      path: 'row-setup-success',
      is_menu_hide: true // 在menv中隐藏
    },
    {
      component: pages.Index.OverView.Detail,
      label: '横向项目(合同)管理',
      path: 'info',
    },
    {
      component: pages.Index.OverView.Detail,
      label: '横向立项/签审',
      path: 'info',
    },
    {
      component: pages.Index.ProjectManagement.AuditProject,
      label: '成果分类',
      path: 'audit-project/id/:id',
      is_menu_hide: true
    },
    {
      component: pages.Index.ProjectManagement.Details,
      label: '课题详情',
      path: 'details/id/:id',
      is_menu_hide: true
    }
  ]
}
